home *** CD-ROM | disk | FTP | other *** search
/ 1st Multimedia Mac Shareware / Multimedia Shareware CD-ROM - BetaCorp.iso / Demosƒ / AMAZING CHANGE DEMO / background_2653.xml < prev    next >
Encoding:
Extensible Markup Language  |  1992-08-06  |  12.6 KB  |  329 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>2653</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_4265.pbm</bitmap>
  7.     <cantDelete> <true /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_3919.css" />
  11.     <part>
  12.         <id>1</id>
  13.         <type>field</type>
  14.         <visible> <true /> </visible>
  15.         <dontWrap> <false /> </dontWrap>
  16.         <dontSearch> <false /> </dontSearch>
  17.         <sharedText> <false /> </sharedText>
  18.         <fixedLineHeight> <true /> </fixedLineHeight>
  19.         <autoTab> <false /> </autoTab>
  20.         <lockText> <false /> </lockText>
  21.         <rect>
  22.             <left>354</left>
  23.             <top>97</top>
  24.             <right>488</right>
  25.             <bottom>124</bottom>
  26.         </rect>
  27.         <style>rectangle</style>
  28.         <autoSelect> <false /> </autoSelect>
  29.         <showLines> <false /> </showLines>
  30.         <wideMargins> <false /> </wideMargins>
  31.         <multipleLines> <false /> </multipleLines>
  32.         <reservedFamily> 0 </reservedFamily>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>left</textAlign>
  36.         <font>New York</font>
  37.         <textSize>24</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <textHeight>32</textHeight>
  40.         <name>PLACE</name>
  41.         <script></script>
  42.     </part>
  43.     <part>
  44.         <id>2</id>
  45.         <type>button</type>
  46.         <visible> <false /> </visible>
  47.         <reserved5> 0 </reserved5>
  48.         <reserved4> 0 </reserved4>
  49.         <reserved3> 0 </reserved3>
  50.         <reserved2> 0 </reserved2>
  51.         <reserved1> 0 </reserved1>
  52.         <enabled> <true /> </enabled>
  53.         <rect>
  54.             <left>306</left>
  55.             <top>84</top>
  56.             <right>336</right>
  57.             <bottom>115</bottom>
  58.         </rect>
  59.         <style>transparent</style>
  60.         <showName> <false /> </showName>
  61.         <highlight> <false /> </highlight>
  62.         <autoHighlight> <true /> </autoHighlight>
  63.         <sharedHighlight> <true /> </sharedHighlight>
  64.         <family>0</family>
  65.         <titleWidth>0</titleWidth>
  66.         <icon>0</icon>
  67.         <textAlign>center</textAlign>
  68.         <font>Chicago</font>
  69.         <textSize>12</textSize>
  70.         <textStyle>plain</textStyle>
  71.         <name>EAST</name>
  72.         <script>on MOUSEUP
  73. GLOBAL V
  74. GLOBAL H
  75. GLOBAL MIN
  76. GLOBAL MAX
  77. GLOBAL S
  78. GLOBAL L
  79. GLOBAL P
  80. PUT H+1 INTO H
  81. PUT S - 25 INTO S
  82. IF (V = MAX) AND (H = MAX) THEN PUT 32 INTO P
  83. IF (V = MIN) AND (H < MAX) THEN PUT RANDOM (4)+25 INTO P
  84. IF (V = MAX) AND (H < MAX) THEN PUT RANDOM (4)+27 INTO P
  85. IF (V = MIN) AND (H = MAX) THEN N
  86. IF (V <> MIN) AND (V <> MAX) AND (H = MAX) THEN PUT 25 INTO P
  87. IF (V <> MIN) AND (V <> MAX) AND (H <> MIN) AND (H <> MAX) THEN PUT RANDOM (8)+23 INTO P
  88. IF (S = 0) THEN PUT 36 INTO P
  89. IF (V = MAX-1) OR (H = MAX-1) THEN PUT 38 INTO P
  90. PUT S INTO FIELD SCORE
  91. PUT V INTO FIELD VER
  92. PUT H INTO FIELD HOR
  93. GO TO CARD P
  94. end MOUSEUP
  95.  
  96. ON N
  97. GLOBAL P
  98. PUT RANDOM (2) INTO T
  99. IF (T = 1) THEN PUT 29 INTO P
  100. IF (T = 2) THEN PUT 26 INTO P
  101. GO TO CARD P
  102. END N
  103.  
  104. </script>
  105.     </part>
  106.     <part>
  107.         <id>3</id>
  108.         <type>button</type>
  109.         <visible> <false /> </visible>
  110.         <reserved5> 0 </reserved5>
  111.         <reserved4> 0 </reserved4>
  112.         <reserved3> 0 </reserved3>
  113.         <reserved2> 0 </reserved2>
  114.         <reserved1> 0 </reserved1>
  115.         <enabled> <true /> </enabled>
  116.         <rect>
  117.             <left>268</left>
  118.             <top>101</top>
  119.             <right>300</right>
  120.             <bottom>131</bottom>
  121.         </rect>
  122.         <style>transparent</style>
  123.         <showName> <false /> </showName>
  124.         <highlight> <false /> </highlight>
  125.         <autoHighlight> <true /> </autoHighlight>
  126.         <sharedHighlight> <true /> </sharedHighlight>
  127.         <family>0</family>
  128.         <titleWidth>0</titleWidth>
  129.         <icon>0</icon>
  130.         <textAlign>center</textAlign>
  131.         <font>Chicago</font>
  132.         <textSize>12</textSize>
  133.         <textStyle>plain</textStyle>
  134.         <name>SOUTH</name>
  135.         <script>on MOUSEUP
  136. GLOBAL V
  137. GLOBAL H
  138. GLOBAL MIN
  139. GLOBAL MAX
  140. GLOBAL S
  141. GLOBAL L
  142. GLOBAL P
  143. PUT V+1 INTO V
  144. PUT S - 25 INTO S
  145. IF (V = MAX) AND (H = MAX) THEN PUT 32 INTO P
  146. IF (H = MIN) AND (V < MAX) THEN PUT RANDOM (4)+12 INTO P
  147. IF (H = MAX) AND (V < MAX) THEN PUT RANDOM (4)+10 INTO P
  148. IF (H = MIN) AND (V = MAX) THEN N
  149. IF (H <> MIN) AND (H <> MAX) AND (V = MAX) THEN PUT 10 INTO P
  150. IF (V <> MIN) AND (V <> MAX) AND (H <> MIN) AND (H <> MAX) THEN PUT RANDOM (8)+8 INTO P
  151. IF (S = 0) THEN PUT 36 INTO P
  152. IF (V = MAX-1) OR (H = MAX-1) THEN PUT 38 INTO P
  153. PUT S INTO FIELD SCORE
  154. PUT V INTO FIELD VER
  155. PUT H INTO FIELD HOR
  156. GO TO CARD P
  157. end MOUSEUP
  158.  
  159. ON N
  160. GLOBAL P
  161. PUT RANDOM (2) INTO T
  162. IF (T = 1) THEN PUT 14 INTO P
  163. IF (T = 2) THEN PUT 16 INTO P
  164. GO TO CARD P
  165. END N
  166.  
  167.  
  168. </script>
  169.     </part>
  170.     <part>
  171.         <id>4</id>
  172.         <type>button</type>
  173.         <visible> <false /> </visible>
  174.         <reserved5> 0 </reserved5>
  175.         <reserved4> 0 </reserved4>
  176.         <reserved3> 0 </reserved3>
  177.         <reserved2> 0 </reserved2>
  178.         <reserved1> 0 </reserved1>
  179.         <enabled> <true /> </enabled>
  180.         <rect>
  181.             <left>234</left>
  182.             <top>84</top>
  183.             <right>264</right>
  184.             <bottom>115</bottom>
  185.         </rect>
  186.         <style>transparent</style>
  187.         <showName> <false /> </showName>
  188.         <highlight> <false /> </highlight>
  189.         <autoHighlight> <true /> </autoHighlight>
  190.         <sharedHighlight> <true /> </sharedHighlight>
  191.         <family>0</family>
  192.         <titleWidth>0</titleWidth>
  193.         <icon>0</icon>
  194.         <textAlign>center</textAlign>
  195.         <font>Chicago</font>
  196.         <textSize>12</textSize>
  197.         <textStyle>plain</textStyle>
  198.         <name>WEST</name>
  199.         <script>on MOUSEUP
  200. GLOBAL V
  201. GLOBAL H
  202. GLOBAL MIN
  203. GLOBAL MAX
  204. GLOBAL S
  205. GLOBAL L
  206. GLOBAL P
  207. PUT H-1 INTO H
  208. PUT S - 25 INTO S
  209. IF (V = MIN) AND (H = MIN) THEN PUT 35 INTO P
  210. IF (V = MAX) AND (H > MIN) THEN PUT RANDOM (4)+17 INTO P
  211. IF (V = MIN) AND (H > MIN) THEN PUT RANDOM (4)+19 INTO P
  212. IF (V = MAX) AND (H = MIN) THEN N
  213. IF (V <> MIN) AND (V <> MAX) AND (H = MIN) THEN PUT 17 INTO P
  214. IF (V <> MIN) AND (V <> MAX) AND (H <> MIN) AND (H <> MAX) THEN PUT RANDOM (8)+16 INTO P
  215. IF (S = 0) THEN PUT 36 INTO P
  216. PUT S INTO FIELD SCORE
  217. PUT V INTO FIELD VER
  218. PUT H INTO FIELD HOR
  219. GO TO CARD P
  220. end MOUSEUP
  221.  
  222. ON N
  223. GLOBAL P
  224. PUT RANDOM (2) INTO T
  225. IF (T = 1) THEN PUT 21 INTO P
  226. IF (T = 2) THEN PUT 18 INTO P
  227. GO TO CARD P
  228. END N
  229.  
  230. </script>
  231.     </part>
  232.     <part>
  233.         <id>5</id>
  234.         <type>button</type>
  235.         <visible> <false /> </visible>
  236.         <reserved5> 0 </reserved5>
  237.         <reserved4> 0 </reserved4>
  238.         <reserved3> 0 </reserved3>
  239.         <reserved2> 0 </reserved2>
  240.         <reserved1> 0 </reserved1>
  241.         <enabled> <true /> </enabled>
  242.         <rect>
  243.             <left>268</left>
  244.             <top>63</top>
  245.             <right>300</right>
  246.             <bottom>93</bottom>
  247.         </rect>
  248.         <style>transparent</style>
  249.         <showName> <false /> </showName>
  250.         <highlight> <false /> </highlight>
  251.         <autoHighlight> <true /> </autoHighlight>
  252.         <sharedHighlight> <true /> </sharedHighlight>
  253.         <family>0</family>
  254.         <titleWidth>0</titleWidth>
  255.         <icon>0</icon>
  256.         <textAlign>center</textAlign>
  257.         <font>Chicago</font>
  258.         <textSize>12</textSize>
  259.         <textStyle>plain</textStyle>
  260.         <name>NORTH</name>
  261.         <script>on MOUSEUP
  262. GLOBAL V
  263. GLOBAL H
  264. GLOBAL MIN
  265. GLOBAL MAX
  266. GLOBAL S
  267. GLOBAL L
  268. GLOBAL P
  269. PUT V-1 INTO V
  270. PUT S - 25 INTO S
  271. IF (V = MIN) AND (H = MIN) THEN PUT 35 INTO P
  272. IF (H = MIN) AND (V > MIN) THEN PUT RANDOM (4)+2 INTO P
  273. IF (H = MAX) AND (V > MIN) THEN PUT RANDOM (4)+4 INTO P
  274. IF (H = MAX) AND (V = MIN) THEN N
  275. IF (H <> MIN) AND (H <> MAX) AND (V = MIN) THEN PUT 2 INTO P
  276. IF (V <> MIN) AND (V <> MAX) AND (H <> MIN) AND (H <> MAX) THEN PUT RANDOM (8)+1 INTO P
  277. IF (S = 0) THEN PUT 36 INTO P
  278. PUT S INTO FIELD SCORE
  279. PUT V INTO FIELD VER
  280. PUT H INTO FIELD HOR
  281. GO TO CARD P
  282. end MOUSEUP
  283.  
  284. ON N
  285. GLOBAL P
  286. PUT RANDOM (2) INTO T
  287. IF (T = 1) THEN PUT 6 INTO P
  288. IF (T = 2) THEN PUT 8 INTO P
  289. GO TO CARD P
  290. END N
  291.  
  292. </script>
  293.     </part>
  294.     <part>
  295.         <id>6</id>
  296.         <type>button</type>
  297.         <visible> <true /> </visible>
  298.         <reserved5> 0 </reserved5>
  299.         <reserved4> 0 </reserved4>
  300.         <reserved3> 0 </reserved3>
  301.         <reserved2> 0 </reserved2>
  302.         <reserved1> 0 </reserved1>
  303.         <enabled> <true /> </enabled>
  304.         <rect>
  305.             <left>34</left>
  306.             <top>227</top>
  307.             <right>218</right>
  308.             <bottom>244</bottom>
  309.         </rect>
  310.         <style>transparent</style>
  311.         <showName> <false /> </showName>
  312.         <highlight> <false /> </highlight>
  313.         <autoHighlight> <false /> </autoHighlight>
  314.         <sharedHighlight> <true /> </sharedHighlight>
  315.         <family>0</family>
  316.         <titleWidth>0</titleWidth>
  317.         <icon>0</icon>
  318.         <textAlign>center</textAlign>
  319.         <font>Chicago</font>
  320.         <textSize>12</textSize>
  321.         <textStyle>plain</textStyle>
  322.         <name>EXIT</name>
  323.         <script>on mouseUp
  324. GLOBAL MAX
  325. GLOBAL S
  326. GLOBAL V
  327. GLOBAL H
  328. IF (V <> MAX) AND (H <> MAX) THEN PUT 0 INTO S
  329. visual effect scroll left
  330. go to card id 16393
  331. END MOUSEUP
  332.  
  333.  
  334. </script>
  335.     </part>
  336.     <part>
  337.         <id>7</id>
  338.         <type>field</type>
  339.         <visible> <true /> </visible>
  340.         <dontWrap> <false /> </dontWrap>
  341.         <dontSearch> <false /> </dontSearch>
  342.         <sharedText> <false /> </sharedText>
  343.         <fixedLineHeight> <true /> </fixedLineHeight>
  344.         <autoTab> <false /> </autoTab>
  345.         <lockText> <true /> </lockText>
  346.         <rect>
  347.             <left>256</left>
  348.             <top>152</top>
  349.             <right>324</right>
  350.             <bottom>169</bottom>
  351.         </rect>
  352.         <style>shadow</style>
  353.         <autoSelect> <false /> </autoSelect>
  354.         <showLines> <false /> </showLines>
  355.         <wideMargins> <false /> </wideMargins>
  356.         <multipleLines> <false /> </multipleLines>
  357.         <reservedFamily> 0 </reservedFamily>
  358.         <titleWidth>0</titleWidth>
  359.         <icon>0</icon>
  360.         <textAlign>left</textAlign>
  361.         <font>Geneva</font>
  362.         <textSize>12</textSize>
  363.         <textStyle>plain</textStyle>
  364.         <textHeight>16</textHeight>
  365.         <name>SCORE</name>
  366.         <script></script>
  367.     </part>
  368.     <part>
  369.         <id>8</id>
  370.         <type>field</type>
  371.         <visible> <true /> </visible>
  372.         <dontWrap> <false /> </dontWrap>
  373.         <dontSearch> <false /> </dontSearch>
  374.         <sharedText> <false /> </sharedText>
  375.         <fixedLineHeight> <true /> </fixedLineHeight>
  376.         <autoTab> <false /> </autoTab>
  377.         <lockText> <true /> </lockText>
  378.         <rect>
  379.             <left>442</left>
  380.             <top>199</top>
  381.             <right>463</right>
  382.             <bottom>214</bottom>
  383.         </rect>
  384.         <style>rectangle</style>
  385.         <autoSelect> <false /> </autoSelect>
  386.         <showLines> <false /> </showLines>
  387.         <wideMargins> <false /> </wideMargins>
  388.         <multipleLines> <false /> </multipleLines>
  389.         <reservedFamily> 0 </reservedFamily>
  390.         <titleWidth>0</titleWidth>
  391.         <icon>0</icon>
  392.         <textAlign>left</textAlign>
  393.         <font>Geneva</font>
  394.         <textSize>12</textSize>
  395.         <textStyle>plain</textStyle>
  396.         <textHeight>16</textHeight>
  397.         <name>LEVEL</name>
  398.         <script></script>
  399.     </part>
  400.     <part>
  401.         <id>9</id>
  402.         <type>field</type>
  403.         <visible> <true /> </visible>
  404.         <dontWrap> <false /> </dontWrap>
  405.         <dontSearch> <false /> </dontSearch>
  406.         <sharedText> <false /> </sharedText>
  407.         <fixedLineHeight> <true /> </fixedLineHeight>
  408.         <autoTab> <false /> </autoTab>
  409.         <lockText> <true /> </lockText>
  410.         <rect>
  411.             <left>393</left>
  412.             <top>160</top>
  413.             <right>481</right>
  414.             <bottom>175</bottom>
  415.         </rect>
  416.         <style>rectangle</style>
  417.         <autoSelect> <false /> </autoSelect>
  418.         <showLines> <false /> </showLines>
  419.         <wideMargins> <false /> </wideMargins>
  420.         <multipleLines> <false /> </multipleLines>
  421.         <reservedFamily> 0 </reservedFamily>
  422.         <titleWidth>0</titleWidth>
  423.         <icon>0</icon>
  424.         <textAlign>left</textAlign>
  425.         <font>Geneva</font>
  426.         <textSize>12</textSize>
  427.         <textStyle>plain</textStyle>
  428.         <textHeight>16</textHeight>
  429.         <name>VER</name>
  430.         <script></script>
  431.     </part>
  432.     <part>
  433.         <id>10</id>
  434.         <type>field</type>
  435.         <visible> <true /> </visible>
  436.         <dontWrap> <false /> </dontWrap>
  437.         <dontSearch> <false /> </dontSearch>
  438.         <sharedText> <false /> </sharedText>
  439.         <fixedLineHeight> <true /> </fixedLineHeight>
  440.         <autoTab> <false /> </autoTab>
  441.         <lockText> <true /> </lockText>
  442.         <rect>
  443.             <left>393</left>
  444.             <top>178</top>
  445.             <right>481</right>
  446.             <bottom>193</bottom>
  447.         </rect>
  448.         <style>rectangle</style>
  449.         <autoSelect> <false /> </autoSelect>
  450.         <showLines> <false /> </showLines>
  451.         <wideMargins> <false /> </wideMargins>
  452.         <multipleLines> <false /> </multipleLines>
  453.         <reservedFamily> 0 </reservedFamily>
  454.         <titleWidth>0</titleWidth>
  455.         <icon>0</icon>
  456.         <textAlign>left</textAlign>
  457.         <font>Geneva</font>
  458.         <textSize>12</textSize>
  459.         <textStyle>plain</textStyle>
  460.         <textHeight>16</textHeight>
  461.         <name>HOR</name>
  462.         <script></script>
  463.     </part>
  464.     <name></name>
  465.     <script>ON OPENCARD
  466. GLOBAL V
  467. GLOBAL H
  468. GLOBAL L
  469. GLOBAL P
  470. GLOBAL S
  471. GLOBAL MIN
  472. GLOBAL MAX
  473. PUT S INTO FIELD SCORE
  474. PUT V INTO FIELD VER
  475. PUT H INTO FIELD HOR
  476. PUT L INTO FIELD LEVEL
  477. IF (V = H) AND (V <> MAX) AND (V <> MIN) AND (H <> MAX) AND (H <> MIN) THEN IC
  478. PASS OPENCARD
  479. END OPENCARD
  480.  
  481. ON CLOSECARD
  482. GLOBAL MIN
  483. GLOBAL MAX
  484. GLOBAL H
  485. GLOBAL V
  486. IF (V = H) AND (V <> MAX) AND (V <> MIN) AND (H <> MAX) AND (H <> MIN) THEN CP
  487. PUT EMPTY INTO FIELD SCORE
  488. PUT EMPTY INTO FIELD VER
  489. PUT EMPTY INTO FIELD HOR
  490. PUT EMPTY INTO FIELD LEVEL
  491. PASS CLOSECARD
  492. END CLOSECARD
  493.  
  494. ON CP
  495. CHOOSE LASSO TOOL
  496. CLICK AT 139,192 WITH COMMANDKEY
  497. DOMENU CUT PICTURE
  498. PUT EMPTY INTO FIELD SCORE
  499. PUT EMPTY INTO FIELD VER
  500. PUT EMPTY INTO FIELD HOR
  501. PUT EMPTY INTO FIELD LEVEL
  502. CHOOSE BROWSE TOOL
  503. END CP
  504.  
  505. ON IC
  506. DIAL 1234
  507. CHOOSE LASSO TOOL
  508. DOMENU PASTE PICTURE
  509. SET DRAGSPEED TO 400
  510. DRAG FROM 319,231 TO 139,192
  511. CHOOSE BROWSE TOOL
  512. HIDE BACKGROUND BUTTON EAST
  513. HIDE BACKGROUND BUTTON WEST
  514. HIDE BACKGROUND BUTTON NORTH
  515. HIDE BACKGROUND BUTTON SOUTH
  516. GLOBAL S
  517. PUT 0 INTO S
  518. PUT S INTO FIELD SCORE
  519. END IC
  520.  
  521.  
  522.  
  523.  
  524. </script>
  525. </background>
  526.